:root {
  --primary-color: #31c27c;
}
body {
  margin: 0;
  background: #f5f5f5;
  font-family: Microsoft Yahei;
  font-size: 14px;
  min-width: 1000px;
  padding: 0 20%; 
  
}
a {
  text-decoration: none;
  color: #000;
}
header {
  height: 90px;
  background: white;
  display: flex;
  align-items: center;
}
.header-inner, main {
  width: 1200px;
  margin: auto;
}
.tag-list {
  margin-top: 50px;
  margin-bottom: 15px;
  text-align: center;
}
.tag-item {
  display: inline-block;
  padding: 0 8px;
  margin-right: 24px;
  line-height: 26px;
  color: #000;
  text-decoration: none;
}
.tag-active {
  /* background: var(--primary-color); */
  color: rgb(64, 197, 98);
}
.tag-item:not(.tag-active):hover {
  color: var(--primary-color);
}
.nowrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.playlist {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 45px 15px;
  margin-bottom: 45px;
}
.playlist_newsongs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 15px;
  margin-bottom: 45px;
}
.cover-wrap {
  display: flex;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 15px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cover-img {
  width: 100%;
  transition: all 0.75s;
}
.cover-img2 {
  width: 100%;
    aspect-ratio: 3 / 2;
  transition: all 0.75s;
}
.cover-mask {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0;
  transition: all 0.5s;
}
.cover-play {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -35px;
  margin-top: -35px;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.5s;
}
.cover-wrap:hover .cover-mask {
  opacity: 0.2;
}
.cover-wrap:hover .cover-play {
  opacity: 1;
  transform: scale(1);
}
.cover-wrap:hover .cover-img {
  transform: scale(1.07);
}
.album-title:hover {
  color: var(--primary-color);
}
.album-author {
  color: #999;
  line-height: 1.6;
}
.album-author:hover {
  color: var(--primary-color);
}
.album-time {
  color: #999;
}
.page {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-item {
  display: inline-block;
  color: #a2a2a2;
  line-height: 50px;
  padding: 0 20px;
  margin: 10px;
  font-size: 16px;
}
.page-current, .page-item:not(.page-more):hover {
  background: var(--primary-color);
  color: white;
}
footer {
  margin-top: 60px;
  background: #333;
  height: 200px;
}
/*newsongs*/
.newsongs_item {
  display: flex;
  align-items: center; /* 垂直居中对齐 */
  gap: 12px; /* 子元素之间的间距 */
  padding: 8px 0; /* 上下内边距，区分不同列表项 */
}

.newsongs_item img {
  width: 80px;
  height: 80px;
  object-fit: cover; /* 保持图片比例，防止变形 */
}

.newsongs_text {
  flex: 1; /* 自动填充剩余空间 */
}

.newsongs_time {
  color: #999;
  font-size: 14px;
}
h1{
  text-align: center;
}